export default {
    state: {
        list: [],
        total_price: 0
    },
    mutations: {
        addOrder (state: any, params: any) {
            let {list, total_price} = params;
            state.list = list;
            state.total_price = total_price;
            console.log(params, '000000')
        }
    }
}